package loop

import (
	"strconv"
	"fmt"
)

func convertToBin(n int)  string{
	result := ""
	for ;n>0 ;n/=2  {
		lsb:=n%2
		result = strconv.Itoa(lsb)+result
	}
	return result

}

func main() {
	fmt.Println(convertToBin(19))
}
